package com.ywdnf.gomoku.model.message;

import lombok.Getter;
import lombok.Setter;

/**
 * 在页面右侧显示消息bean
 *
 * @author lss
 * @date 2019-02-12, Tue
 */
@Getter
@Setter
public class RightMsgBean extends FrontMsgBean {

  /**
   * 通知标题
   */
  private String title;

  public RightMsgBean(String type, String content, float duration, boolean autoClose, boolean showClose,
      String title) {
    super(type, content, duration * 1000, autoClose, showClose);
    this.title = title;
  }
}
